# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=python2-skype4py
pkgver=1.0.35
pkgrel=2
pkgdesc='Skype API wrapper for Python.'
arch=('any')
url='https://pypi.python.org/pypi/Skype4Py/'
license=('BSD')
depends=('python2')
makedepends=('python2-setuptools')
source=("https://pypi.python.org/packages/88/ab/cfcc614007c5e5e0c289b65a3cec871a0cb75038609acb627b034c1e9833/Skype4Py-$pkgver.zip")
sha512sums=('28fc5cd80981053fc1899e0b6f9aaa7d532d12daa5f0104162c0e4ed36360add93aff4b01304119a9b2a001b6bc46487d2015f6536456d818f0052fb270b8b78')

build() {
  cd "Skype4Py-$pkgver"

  python2 setup.py build
}

package() {
  cd "Skype4Py-$pkgver"

  python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 \
    --skip-build
}

